package cn.weiyang.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by Administrator on 2017/7/14.
 */
public class Account {
    private long account_id;
    private String user_name;
    private float money;
    private Date createdate;
    private Set<Record> formrecords=new HashSet<Record>();
    private Set<Record> torecords=new HashSet<Record>();
    public Account() {
    }

    public Account(long account_id, String user_name, float money, Date createdate, Set<Record> formrecords, Set<Record> torecords) {
        this.account_id = account_id;
        this.user_name = user_name;
        this.money = money;
        this.createdate = createdate;
        this.formrecords = formrecords;
        this.torecords = torecords;
    }

    public long getAccount_id() {
        return account_id;
    }

    public void setAccount_id(long account_id) {
        this.account_id = account_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Set<Record> getFormrecords() {
        return formrecords;
    }

    public void setFormrecords(Set<Record> formrecords) {
        this.formrecords = formrecords;
    }

    public Set<Record> getTorecords() {
        return torecords;
    }

    public void setTorecords(Set<Record> torecords) {
        this.torecords = torecords;
    }
}
